package config

//配置实体
type Config struct {
	ServerBind string `toml:"serverbind"`
	Expiration int  `toml:"expiration"`
	RefreshExpiration int  `toml:"refresh"`
	UserCenterBind string  `toml:"usercenterbind"`
	Redis      Redis
}

type Redis struct {
	NetType  string `toml:"netType"`
	Addr     string `toml:"addr"`
	Password string `toml:"password"`
}
